<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box {
            width: 600px;
            height: 100px;
            border: 1px solid red;
        }
        
        .span1 {
            font-size: 40px;
            vertical-align: middle;
        }
        
        .span2 {
            font-size: 20px;
            vertical-align: middle;
        }
        
        .span3 {
            font-size: 50px;
            vertical-align: middle;
            line-height: 100px;
        }
    </style>
</head>

<body>
    <div class="box">
        <span class="span1">
            100
        </span>
        <span class="span2">
            100
        </span>
        <span class="span3">
            100
        </span>
    </div>
</body>

</html>